﻿using DevExpress.Xpo;
using Model.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Bill
{
    public class TB_StoreHouseInDetail : BaseXPObjectClass
    {
        public TB_StoreHouseInDetail(Session session) : base(session) { }
        public override void AfterConstruction()
        {
            base.AfterConstruction();
        }
        string fStoreHouseInID;
        public string StoreHouseInID
        {
            get { return fStoreHouseInID; }
            set { SetPropertyValue<string>("StoreHouseInID", ref fStoreHouseInID, value); }
        }
        int fRowNum;
        public int RowNum
        {
            get { return fRowNum; }
            set { SetPropertyValue<int>("RowNum", ref fRowNum, value); }
        }
        string fBillCode;
        public string BillCode
        {
            get { return fBillCode; }
            set { SetPropertyValue<string>("BillCode", ref fBillCode, value); }
        }
        string fProductID;
        public string ProductID
        {
            get { return fProductID; }
            set { SetPropertyValue<string>("ProductID", ref fProductID, value); }
        }
        string fProductCode;
        public string ProductCode
        {
            get { return fProductCode; }
            set { SetPropertyValue<string>("ProductCode", ref fProductCode, value); }
        }
        string fProductName;
        public string ProductName
        {
            get { return fProductName; }
            set { SetPropertyValue<string>("ProductName", ref fProductName, value); }
        }
        string fProductSpec;
        public string ProductSpec
        {
            get { return fProductSpec; }
            set { SetPropertyValue<string>("ProductSpec", ref fProductSpec, value); }
        }
        string fUnitName;
        public string UnitName
        {
            get { return fUnitName; }
            set { SetPropertyValue<string>("UnitName", ref fUnitName, value); }
        }
        decimal fQuantity;
        public decimal Quantity
        {
            get { return fQuantity; }
            set { SetPropertyValue<decimal>("Quantity", ref fQuantity, value); }
        }
        decimal fPrice;
        public decimal Price
        {
            get { return fPrice; }
            set { SetPropertyValue<decimal>("Price", ref fPrice, value); }
        }
        decimal fAmount;
        public decimal Amount
        {
            get { return fAmount; }
            set { SetPropertyValue<decimal>("Amount", ref fAmount, value); }
        }
    }
}
